  var id = getvl("id");
  var currentPage=1;
$(function(){
	if(id!==''){
		selectshopinfoone(id);
	}else{
		//alert("无有效值.....");
	} 
});


function selectshopinfoone(id){
		$.ajax({       
       url: urlcore + "/api/sortBetweeen/getMyGoodsSort?shopId="+id,
			type: "get",
			dataType: 'json',
			contentType: "application/json;charset=utf-8",
			success: function(data) {
				if(data.success == true) {
				$.each(data.data,function(y,n){
								  var dianpufenlei='<li>'+
'			<a href="6.2.0leibie.html?id='+n.id+'&sid='+id+'"><img onerror="errorImg(this)" src="'+n.sortUrl+'"/>'+n.sortName+'(<em>'+n.sortCount+'</em>)</a>'+
'	     	</li>';
  $("#dianpufenlei").append(dianpufenlei);
				});
				} else {
					if(data.msg != '空数据') {
						alert(data.msg)
					} else {
						$('#thiscount').text(0);
					}
				}

			},
			error: function() {
				alert("error");
			}
		});
	
	}

